<?php

/*
**	Refresh Tweets
**	This page retrieves authors' tweets from Twitter and loads them into the local database. Use cron (or other scheduler) to hit this page on a regular basis to assure all author tweets get imported.
**
*/

$data['applicationTitle'] = $this->lang->line('ligature_title');;
$data['pageTitle'] = $this->lang->line('ligature_refresh_title');
$data['pageId'] = 'refresh';

$data['message'] = $this->session->flashdata('message');

// update twitter feeds on load
$data['newTweets'] = $this->Ligature_Post_model->loadTwitterPosts();

$this->load->view($this->config->item('theme', 'ligature') . '/header', $data);
$this->load->view($this->config->item('theme', 'ligature') . '/refresh', $data);
$this->load->view($this->config->item('theme', 'ligature') . '/footer', $data);

/* clickframes::version=302186644::clickframes */
?>